A New Distributed Optimistic Concurrency Control Method and a Comparison of its Performance with Two-Phase Locking

نویسندگان

  • Alexander Thomasian
  • Erhard Rahm
چکیده

Alexander Thomasian IBM T. J. Watson Research Center P.O. Box 704 Yorktown Heights, NY 10598, USA The performance of high-volume transaction processing systems is determined by the degree of contention for hardware resources as well as data. Data contention is especially a problem in the case of data partitioned (e.g., distributed) systems with global transactions accessing and updating objects from multiple systems. While the conventional two-phase locking (2PL) method of centralized systems can be adapted to data partitioned systems. it may restrict system throughput to levels inconsistent with the available processing capacity. This is clue to a significant increase in lock holding times and associated transaction waiting time1' for locks in distributed data partitioned systems, as compared to centralized systems. Optimistic concurrency control (OCC) is similarly extensible to data partitioned systems, but has the disadvantage of repeated transaction restarts, which is a weak point of currently proposed methods. We present a new distributed OCC method followed by locking, such that locking is an integral part of distributed validation and two-phase commit. This OCC method assures that a transaction failing its validation will not be re-executed more than once. in general. Furthermore deadlocks, which are difficult to handle in a distributed environment, are avoided by serializing lock requests. We outline implementation details and compare the performance of the new scheme with distributed 2PL through a detailed simulation, which incorporates queueing effects at the devices of the computer systems, buffer management, concurrency control, and commit processing. It is shown that in the case of higher data contention levels, the hybrid OCC method allows a much higher maximum transaction throughput than distributed 2PL. We also report the performance of the new method with respect to variable size transactions. It is shown that by restricting the number of r·estarts to one, the performance achieved for variable size transactions is comparable to fixed size transactions with

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Distributed Optimistic Concurrency Control for High Performance Transaction Processing

The performance of high-volume transaction processing systems is determined by the degree of hardware and data contention. This is especially a problem in the case of distributed systems with glob~! transactions accessing and updating objects from multiple systems. While the conventional two-phase locking method 11f centralized systems can be adapted for concurrency control in distributed syste...

متن کامل

Distributed Optimistic Concurrency Control Methods for High-Performance Transaction Processing

There is an ever-increasing demand for more complex transactions and higher throughputs in transaction processing systems leading to higher degrees of transaction concurrency and, hence, higher data contention. The conventional two-phase locking (2PL) Concurrency Control (CC) method may, therefore, restrict system throughput to levels inconsistent with the available processing capacity. This is...

متن کامل

Experimental Evaluation of Real-Time Optimistic Concurrency Control Schemes

Due to its potential for a high degree of parallelism, optimistic concurrency control is expected to perform better than two-phase locking when integrated with priority-driven CPU scheduling in real-time database systems. In this paper, we examine the overall effects and the impact of the overheads involved in implementing real-time optimistic concurrency control. Using a locking mechanism to e...

متن کامل

Secure Network using Secure Hash Algorithm-3 with Locking Protocol in Distributed Database System

The two phase locking protocol provides controlled access to a data item and prevents data inconsistencies in the distributed database system. The hashing algorithm is used to calculate hash value for the requested data item and the generated hash value is used as a medium to secure the communication between server and client connected through a network. This paper presents a methodology which ...

متن کامل

Performance Modeling of an Enhanced Optimistic Locking Architecture for Concurrency Control in a Distributed Database System

Optimistic methods of concurrency control are gaining popularity. This is especially true with the resurgence of mobile and distributed databases during the last decade, which inherently rely on optimistic techniques to improve availability and performance of the distributed database systems. A key problem with optimistic techniques is that they do not perform well in highly conflict prone envi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1990